using System;
using Framework.Audio;
using Framework.FSMLite;
using Framework.UI;
using View;

namespace StateSystem.State
{
    public class StateRoom : StateMachine<StateSystem.GameState>
    {
        protected override void OnEnter(params object[] args)
        {
            UIManager.Instance.OpenView(UIPanel.GamePanel);
        }

        protected override void OnExit()
        {
            UIManager.Instance.CloseView(UIPanel.GamePanel);
        }
    }
}